package com.hp.snap.gr.model;

import java.util.ArrayList;
import java.util.List;

public class Database {
    private String customcmdln;
    private int port;
    private int replicationport;
    private String status;
    private List<Server> Servers = new ArrayList<Server>();
    private int catalog;
    private int zookeeperport;
    private int id;
    private String collectsnapshots;
    private int startcount;
    private int logport;
    private int jmxport;
    private String description;
    private int maxheap;
    private String name;
    private int deployment;
    private boolean rebalancing;
    private boolean replica;
    private int internalport;

    public String getCustomcmdln() {
        return customcmdln;
    }

    public void setCustomcmdln(String customcmdln) {
        this.customcmdln = customcmdln;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getReplicationport() {
        return replicationport;
    }

    public void setReplicationport(int replicationport) {
        this.replicationport = replicationport;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<Server> getServers() {
        return Servers;
    }

    public void setServers(List<Server> servers) {
        Servers = servers;
    }

    public int getCatalog() {
        return catalog;
    }

    public void setCatalog(int catalog) {
        this.catalog = catalog;
    }

    public int getZookeeperport() {
        return zookeeperport;
    }

    public void setZookeeperport(int zookeeperport) {
        this.zookeeperport = zookeeperport;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCollectsnapshots() {
        return collectsnapshots;
    }

    public void setCollectsnapshots(String collectsnapshots) {
        this.collectsnapshots = collectsnapshots;
    }

    public int getStartcount() {
        return startcount;
    }

    public void setStartcount(int startcount) {
        this.startcount = startcount;
    }

    public int getLogport() {
        return logport;
    }

    public void setLogport(int logport) {
        this.logport = logport;
    }

    public int getJmxport() {
        return jmxport;
    }

    public void setJmxport(int jmxport) {
        this.jmxport = jmxport;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getMaxheap() {
        return maxheap;
    }

    public void setMaxheap(int maxheap) {
        this.maxheap = maxheap;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDeployment() {
        return deployment;
    }

    public void setDeployment(int deployment) {
        this.deployment = deployment;
    }

    public boolean isRebalancing() {
        return rebalancing;
    }

    public void setRebalancing(boolean rebalancing) {
        this.rebalancing = rebalancing;
    }

    public boolean isReplica() {
        return replica;
    }

    public void setReplica(boolean replica) {
        this.replica = replica;
    }

    public int getInternalport() {
        return internalport;
    }

    public void setInternalport(int internalport) {
        this.internalport = internalport;
    }

    @Override
    public String toString() {
        return "Database{" +
                "customcmdln='" + customcmdln + '\'' +
                ", port=" + port +
                ", replicationport=" + replicationport +
                ", status='" + status + '\'' +
                ", Servers=" + Servers +
                ", catalog=" + catalog +
                ", zookeeperport=" + zookeeperport +
                ", id=" + id +
                ", collectsnapshots='" + collectsnapshots + '\'' +
                ", startcount=" + startcount +
                ", logport=" + logport +
                ", jmxport=" + jmxport +
                ", description='" + description + '\'' +
                ", maxheap=" + maxheap +
                ", name='" + name + '\'' +
                ", deployment=" + deployment +
                ", rebalancing=" + rebalancing +
                ", replica=" + replica +
                ", internalport=" + internalport +
                '}';
    }
}
